import axios from '@/libs/api.request'
import qs from 'qs';

// 获取护工评价列表
export const getHgAppraise = (profileNo,params) => {
  return axios.request({
      url: `/openapi/hg/profile/${profileNo}/appraise`,
      method: 'get',
      params
  })
}

//腾讯地址
export const getTenxuAddressList = (params) => {
  return axios.request({
    url: `/openapi/address`,
    method: 'get',
    params: params
  })
}

// 身份证识别
export const ocridCard = (data) => {
  return axios.request({
    url: `/openapi/idcard/ocridcard`,
    method: 'post',
    data,
  })
}

/**
 * 批量录入表格
 * @param {*} params
 */
export const batchOrg = (params,orgId) => {
  return axios.request({
    url: `/openapi/batch/${orgId}`,
    method: 'post',
    data:params,
    headers:{
      "Content-Type": "multipart/form-data"
    }
  })
}